package com.itheima.dao;

import com.itheima.bean.User;

//用户操作接口
public interface UserDao {
    //登录
    public User login(String username, String password) throws Exception;
    //注册
    public void register(User user) throws Exception;
    //根据用户名查找用户
    User findUserByUserName(String username) throws Exception;
}
